package com.zyp.observer;


/**
 * 通知者（主要通知）
 * @author Administrator
 *
 */
public class MySubject extends AbstractSubject{

	@Override
	public void selfOperation() {
		System.out.println("mysubject notify all observers");
		//发送通知
		notifyObservers();
	}

}
